home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / grafik / bildanzeiger / superview-lib_dev / example_svoperators / extractgrayscales / svoperator.h < prev   
C/C++ Source or Header  |  1995-03-09  |  3KB  |  99 lines

  1.  /* svoperator.h
  2.     - Include File for ExtractGrayScales.svoperator -
  3.     (c) 1990-94 by Andreas R. Kleinert
  4.     Last changes : 30.10.1994
  5.  */
  6.  
  7. #ifndef SVOPERATOR_H
  8. #define SVOPERATOR_H
  9.  
  10. #ifndef SUPERVIEW_SUPERVIEWBASE_H
  11. #include <superview/superviewbase.h>
  12. #endif  /* SUPERVIEW_SUPERVIEWBASE_H */
  13.  
  14. #ifndef SVOPERATORS_SVOPERATORBASE_H
  15. #include <svoperators/svoperatorbase.h>
  16. #endif  /* SVOPERATORS_SVOPERATORBASE_H
  17.  
  18. #ifndef INTUITION_INTUITIONBASE_H
  19. #include <intuition/intuitionbase.h>
  20. #endif /* INTUITION_INTUITIONBASE_H */
  21.  
  22. #ifndef EXEC_MEMORY_H
  23. #include <exec/memory.h>
  24. #endif /* EXEC_MEMORY_H */
  25.  
  26. #ifndef EXEC_LISTS_H
  27. #include <exec/lists.h>
  28. #endif /* EXEC_LISTS_H */
  29.  
  30. #ifndef EXEC_INTERRUPTS_H
  31. #include <exec/interrupts.h>
  32. #endif /* EXEC_INTERRUPTS_H */
  33.  
  34. #ifndef GRAPHICS_GFXBASE_H
  35. #include <graphics/gfxbase.h>
  36. #endif /* GRAPHICS_GFXBASE_H */
  37.  
  38. #ifndef GRAPHICS_VIEW_H
  39. #include <graphics/view.h>
  40. #endif /* GRAPHICS_VIEW_H */
  41.  
  42. #ifndef LIBRARIES_IFFPARSE_H
  43. #include <libraries/iffparse.h>
  44. #endif /* LIBRARIES_IFFPARSE_H */
  45.  
  46. #include <proto/exec.h>
  47. #include <proto/dos.h>
  48. #include <proto/intuition.h>
  49. #include <proto/graphics.h>
  50. #include <proto/superviewsupport.h>
  51.  
  52. #include "ExtractGrayScales.h"
  53.  
  54.  
  55. /* *************************************************** */
  56. /* *                             * */
  57. /* * SD_SuperVisor.c : Functions                 * */
  58. /* *                             * */
  59. /* *************************************************** */
  60.  
  61. extern struct SVOperatorHandle * __saveds __asm SVP_AllocHandle( register __a1 APTR future_a1);
  62. extern void __saveds __asm SVP_FreeHandle( register __a1 struct SVOperatorHandle *SVOperatorHandle_a1);
  63.  
  64.  
  65. /* *************************************************** */
  66. /* *                             * */
  67. /* * SD_BufferSubs.c : ...                           * */
  68. /* *                             * */
  69. /* *************************************************** */
  70.  
  71. extern ULONG __saveds __asm SVP_DoOperation(  register __a1 struct SVOperatorHandle  *SVOperatorHandle_a1,
  72.                                               register __a2 struct SV_GfxBuffer      *source,
  73.                                               register __a3 struct SV_GfxBuffer     **dest,
  74.                                               register __d1 APTR                      future);
  75.  
  76.  
  77. /* *************************************************** */
  78. /* *                             * */
  79. /* * Additional Base Declarations             * */
  80. /* *                             * */
  81. /* *************************************************** */
  82.  
  83. extern struct SVOperatorBase  *SVOperatorBase;
  84.  
  85. extern struct ExecBase        *SysBase;
  86. extern struct DosLibrary    *DOSBase;
  87. extern struct IntuitionBase *IntuitionBase;
  88. extern struct GfxBase        *GfxBase;
  89. extern struct SVSupportBase *SVSupportBase;
  90.  
  91. struct SVOperatorHandle                   /* STRICTLY PRIVATE */
  92. {
  93.  APTR                 ah_ramhandle;
  94.  
  95.  struct SV_GfxBuffer *ah_SV_GfxBuffer;
  96. };
  97.  
  98. #endif /* SVOPERATOR_H */
  99.